Package pl.wendigo.chrome.api.database

Contains DevTools Protocol Database domain implementation accessible via DatabaseDomain class.

Types

AddDatabaseEvent
Link copied to clipboard
data class AddDatabaseEvent(database: Database) : Event
Database
Link copied to clipboard
data class Database(id: DatabaseId, domain: String, name: String, version: String)
Database object.
DatabaseDomain
Link copied to clipboard
class DatabaseDomain : Domain
DatabaseDomain represents Database protocol domain request/response operations and events that can be captured.
DatabaseId
Link copied to clipboard
typealias DatabaseId = String

Unique identifier of Database object.

Error
Link copied to clipboard
data class Error(message: String, code: Int)
Database error.
ExecuteSQLRequest
Link copied to clipboard
data class ExecuteSQLRequest(databaseId: DatabaseId, query: String)
Represents request frame that can be used with Database#executeSQL operation call.
ExecuteSQLResponse
Link copied to clipboard
data class ExecuteSQLResponse(columnNames: List<String>?, values: List<JsonElement>?, sqlError: Error?)
Represents response frame that is returned from Database#executeSQL operation call.
GetDatabaseTableNamesRequest
Link copied to clipboard
data class GetDatabaseTableNamesRequest(databaseId: DatabaseId)
Represents request frame that can be used with Database#getDatabaseTableNames operation call.
GetDatabaseTableNamesResponse
Link copied to clipboard
data class GetDatabaseTableNamesResponse(tableNames: List<String>)
Represents response frame that is returned from Database#getDatabaseTableNames operation call.